package com.ms.game.gmtool.message;

public class SGmtoolUpdateItemInfos {
	
	public final static int INSERT = 1;
	
	public final static int DELETE = 2;
	
	public final static int MODIFY = 3;
	
	public final static int REFRESH_ITEM = 4;
	
	public final static int REFRESH_BONUS_PACK = 5;
	
	private int type;
	
	private String subKey;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getSubKey() {
		return subKey;
	}

	public void setSubKey(String subKey) {
		this.subKey = subKey;
	}

	/**
	 * 單一道具更新
	 */
	public boolean isSingleUpdate(){
		return type > 0 && type < 4;
	}

}
